//
//  SunHtmlWebVC.m
//  Xspcf
//
//  Created by sunshine on 16/11/9.
//  Copyright © 2016年 小小算盘. All rights reserved.
//

#import "SunHtmlWebVC.h"

@interface SunHtmlWebVC ()
@end

@implementation SunHtmlWebVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = BACKGROUND;
    UIWebView *web = [[UIWebView alloc]init];
    [self.view addSubview:web];
    [web lt_All:SunEdgesMake(0, 0, 0, 0) save:YES];
    [web loadHTMLString:self.html baseURL:nil];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
